package com.car.shopping.service;

import com.car.shopping.controller.form.GoodsTypeForm;
import com.car.shopping.controller.form.ModifyGoodsTypeForm;
import com.car.shopping.entity.GoodsType;
import com.baomidou.mybatisplus.extension.service.IService;
import com.car.shopping.service.param.ModifyGoodsTypeParam;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 董旭
 * @since 2024-08-28
 */
public interface GoodsTypeService extends IService<GoodsType> {

    public List<GoodsType> findAllGoodsType()throws Exception;

    public GoodsType addType(GoodsTypeForm form);

    public void delGoodsType(Integer goodsTypeId)throws Exception;

    public void modifyGoodsType(ModifyGoodsTypeParam param)throws Exception;
}
